/**
 * X-COM Tactical game type.. 
 * Uses for Tactics-game rules.
 */
class xT_GameInfo extends x_GameInfo config(xLED);

//=============================================================================
// Variables
//=============================================================================
var public xT_LevelManager                  LevelManager;
var public Vector                           MapDimensions;

var config bool								bFriendlyFire; //Hurt damage to friendly units

var xT_AISquad                              AISquad;

//=============================================================================
// Functions: Events
//=============================================================================
event InitGame( string Options, out string ErrorMessage )
{
	Super.InitGame(Options, ErrorMessage);	
	GetMapInfo();
	//LevelManager =  spawn(class'xT_LevelManager',self,'LevelManager',,,,false);
}

//=============================================================================
// Functions:
//=============================================================================
/** Get map dimensions and other info from worldinfo */
function GetMapInfo()
{
	MapDimensions = vect(8192, 8192, 0); //TEST!!!!
}

function StartGame()
{
	super.StartGame();
	AISquad = new(self)class'xT_AISquad';
	LevelManager =  spawn(class'xT_LevelManager',self,'LevelManager',,,,false);
}

defaultproperties
{
    bDelayedStart=false
    PlayerControllerClass=class'xLED_TACTICS.xT_PlayerController'	
	HUDType=class'xLED_TACTICS.xT_Hud'

    Name="Default__xT_GameInfo"
}